home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-02-21 | 2.5 KB | 113 lines |
- ########## These are overridden by the contents of config.status
- # Where to install the executables
- BINDIR=${GNUBINDIR}
-
- # Where to install the info files
- INFODIR=${GNUINFODIR}
-
- # Where to install the Elisp code
- ELISPDIR=${GNUSHAREDIR}/emacs/latexinfo
-
- # Where to install the style files and example.
- TEXDIR=${GNUSHAREDIR}/tex
-
- # The name of your DVI to PS filter
- DVIPS=dvips
-
- # The name of your GNU Emacs
- EMACS=xemacs
-
- INSTALL = install -c -m 755
- INSTALLDATA = install -c -m 644
- TAR = tar cvfh
-
- ########## End of user configurable options ################
-
- VERSION=`grep latexinfoversion{ styles/latexinfo.sty | sed -e 's/.*{//' -e 's/}.*//'`
- PROGRAM=latexinfo
- MANUAL=latexinfo2
- ELISP=${LATEXINFO}/elisp
- DOC=${LATEXINFO}/manual
-
- ########## The above are overridden by the contents of config.status
-
- include config.status
-
- BINS = manual/latex2dvi
-
- UTILS = .login .latexinfo Makefile README COPYING CHANGES TODO INSTALL
-
- STYS = styles/latexinfo.sty \
- styles/clisp.sty \
- styles/elisp.sty \
- styles/german.sty \
- styles/format.sty \
- styles/fvpindex.sty \
- styles/funref.sty \
- styles/Makefile
-
- ELS = elisp/Makefile \
- elisp/$(PROGRAM).el \
- elisp/latexnfo-mde.el \
- elisp/latexnfo-tex.el \
- elisp/latexnfo-upd.el \
- elisp/clisp-fmt.el \
- elisp/elisp-fmt.el \
- elisp/fvpindex-fmt.el \
- elisp/funref-fmt.el \
- elisp/german-fmt.el \
- elisp/t2latexinfo.el \
- elisp/s2latexinfo.el \
- elisp/l2latexinfo.el \
- elisp/makeinfo.el
-
- MANS= manual/Makefile \
- manual/$(MANUAL).bib \
- manual/$(MANUAL).bbl \
- manual/$(MANUAL).tex \
- manual/lnfo-sample.tex
-
- SOURCES = C/info.c C/latexindex.c C/getopt.c C/getopt1.c
- HEADERS = C/getopt.h
- SUPPORT = C/Makefile.in configure
-
-
- FLAGS = LATEXINFO=$(LATEXINFO) BINDIR=$(BINDIR) ELISPDIR=$(ELISPDIR) \
- MANUAL=$(MANUAL) ELISP=$(ELISP) DOC=$(DOC) PROGRAM=$(PROGRAM) \
- INFODIR=$(INFODIR) TEXDIR=$(TEXDIR) EMACS=$(EMACS) DVIPS=$(DVIPS) \
- INSTALL="$(INSTALL)" INSTALLDATA="$(INSTALLDATA)"
-
-
- all: C elisp manual
-
- C::
- (cd C; $(MAKE) $(FLAGS))
-
- elisp::
- (cd elisp; $(MAKE) $(FLAGS))
-
- manual::
- (cd manual; $(MAKE) $(FLAGS))
-
- install: install.C install.manual install.elisp install.styles
-
- install.C::
- (cd C; $(MAKE) install $(FLAGS) bindir=$(BINDIR) infodir=$(INFODIR) )
-
- install.manual::
- (cd manual; $(MAKE) install $(FLAGS))
-
- install.elisp::
- (cd elisp; $(MAKE) install $(FLAGS))
-
- install.styles::
- (cd styles; $(MAKE) install $(FLAGS))
-
- clean:
-
- THINGS_TO_TAR = $(SOURCES) $(HEADERS) $(SUPPORT) \
- $(MANS) $(STYS) $(ELS) $(UTILS) $(BINS)
-
- tar::
- $(TAR) $(PROGRAM)-$(VERSION).tar $(THINGS_TO_TAR)
-